package group9;

import java.io.IOException;

import javax.jdo.PersistenceManager;
import javax.servlet.http.*;

/**
 * @author Claudio Herreros, Dylan James, Tyler Berg
 *
 */

@SuppressWarnings("serial")
public class Group9Servlet extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {

		PersistenceManager pm = PMF.get().getPersistenceManager();
		try {
			pm.makePersistent(new User("Test", "Test", "Test"));
		} finally {
			pm.close();
		}
		resp.setContentType("text/plain");
		resp.getWriter().println("Hello, world");

	}
}
